import {legacy_createStore as createStore} from "redux"
import {combineReducers,applyMiddleware} from "redux" //合并抽离出去的reducer的
import logger from "redux-logger"
import thunk from "redux-thunk"
import shopreducer from "./shopreducer"
let reducer = combineReducers({
    shopreducer
})
export default createStore(reducer,applyMiddleware(thunk,logger))